<div class="loginBg" ng-intro-options="IntroOptions" ng-intro-autostart="ShouldAutoStart()" ng-intro-method="CallMe">
  <div class="container-fluid loginMain">
    <div>
      <div class="text-center"><img ng-src="images/logo.png" alt=""/></div>
      <br/><br/>

      <div class="panel panel-primary loginPanel">
        <div class="panel-heading">
          <h3 class="panel-title text-center">用户登陆</h3>
        </div>
        <div class="panel-body loginForm">
          <br/>

          <form name="loginForm" novalidate>
            <div>
              <div class="row">
                <div class="col-md-12" id="step1">
                  <div class="input-group" ng-class="{'has-error':loginForm.account.$invalid}">
                    <span class="input-group-addon"><span class="glyphicon glyphicon-user"></span></span>
                    <input type="account" name="account" class="form-control input-lg" ng-model="user.account"
                           placeholder="账号"
                           required/>
                  </div>
                </div>
              </div>
              <br/>

              <div class="row">
                <div class="col-md-12" id="step2">
                  <div class="input-group" ng-class="{'has-error':loginForm.password.$invalid}">
                    <span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
                    <input type="password" name="password" class="form-control input-lg"
                           ng-model="user.password" placeholder="密码"
                           required/>
                  </div>
                </div>
              </div>
              <br/><br/>

              <div class="row">
                <div class="col-md-12" id="step3">
                  <button type="submit" class="btn btn-primary btn-lg btn-block" ng-click="login()"
                          ng-disabled="loginForm.$invalid">登陆
                  </button>
                </div>
              </div>
              <br/>
              <div>
                <div class="pull-right">
                  <a href="" class="text-muted">忘记密码？</a>
                  <a href="" class="text-muted">立即注册</a>
                </div>
              </div>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>


